package com.vhall.component.entity.rbac.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author lsl
 * @since 2021/4/26
 */
@Data
public class RoleAdminGetRspVO implements Serializable {

    private static final long serialVersionUID = 1111097497302074979L;
    @JsonProperty("role_id")
    private Integer roleId;

    @JsonProperty("name")
    private String name;
    /**
     * 角色类型
     * 1:平台级,2:部门级
     */
    private String type;

    @JsonProperty("code")
    private String code;

    @JsonProperty("desc")
    private String desc;

    @JsonProperty("status")
    private Integer status;

    @JsonProperty("app_id")
    private String appId;

    @JsonProperty("level")
    private Integer level;

    @JsonProperty("created_at")
    private LocalDateTime createdAt;

    @JsonProperty("updated_at")
    private LocalDateTime updatedAt;

    @JsonProperty("deleted_at")
    private LocalDateTime deletedAt;

    @JsonProperty("status_str")
    private String statusStr;

    private List<ActionsRspVO> actions;

    private List<MenuesRspVO> menues;

}
